export const itemList = [
	{
		label: '任务名称',
		model: 'hallName',
		required: false,
		disabled: true,
		message: '请输入任务名称',
		type: 'input',
		// test: 'mobile'
		// maxlength: 10,
	},
	{
		label: '任务类型',
		model: 'typeName',
		modelName: 'type',
		required: false,
		disabled: true,
		message: '请输入任务类型',
		type: 'select',
		controls: 'select',
		keyName: 'dictLabel',
		url: 'system/dict/data/type/timed_task_type',
		value: 'dictValue',
		actions: [],
	},
	{
		label: '品种',
		model: 'drugName',
		required: false,
		disabled: true,
		message: '请输入品种',
		type: 'input'
	},
	{
		label: '省份',
		model: 'province',
		disabled: true,
		required: false,
		message: '请输入省份',
		type: 'input'
	},
	{
		label: '医院名称',
		model: 'hospital',
		required: false,
		message: '请输入医院名称',
		disabled: true,
		type: 'input'
	},
	{
		label: '科室名称',
		model: 'departmentName',
		modelName: 'departmentId',
		required: true,
		disabled: false,
		message: '选择任务类型',
		type: 'select',
		controls: 'select',
		keyName: 'departmentName',
		url: 'base/hospital/list-department',
		value: 'departmentId',
		urlId: 'id',
		dataType: 'rows',
		actions: [],
	},
	{
		label: '拜访医生',
		model: 'doctorName',
		modelName: 'doctorId',
		required: true,
		disabled: false,
		message: '请输入拜访医生',
		type: 'select',
		controls: 'select',
		keyName: 'name',
		url: 'base/doctor/list',
		value: 'id',
		urlObj: 'obj',
		dataType: 'rows',
		actions: [],
	},
	{
		label: '拜访目的',
		model: 'target',
		modelName: 'targetZh',
		url: 'system/dict/data/type/set_pur_pose',
		required: true,
		message: '请输入拜访目的',
		keyName: 'dictLabel',
		value: 'dictValue',
		type: 'selectMd',
		controls: 'select',
	},
	{
		label: '拜访名称',
		model: 'name',
		required: true,
		message: '请输入拜访名称',
		type: 'input'
	},
	{
		label: '拜访开始时间',
		model: 'startTime',
		required: true,
		disabled: false,
		message: '请选择拜访开始时间',
		type: 'select',
		controls: 'time',
		title: '请选择时间',
	},
	{
		label: '拜访结束时间',
		model: 'endTime',
		required: true,
		message: '请选择拜访结束时间',
		type: 'select',
		controls: 'time',
		title: '请选择时间',
	},
	{
		label: '学习资料',
		model: 'resourceName',
		modelName: 'resourceId',
		required: true,
		disabled: false,
		look: true,
		message: '请选择学习资料',
		type: 'select',
		controls: 'select',
		keyName: 'name',
		url: 'task/resource/list',
		value: 'id',
		dataType: 'rows',
		actions: [],
	},
	{
		label: '其它照片',
		model: 'urlFil',
		required: false,
		fileType: 1,
		message: '请选择其它照片',
		type: 'file',
		documentType: 'img',
		fileList: [],
		setDate: 'fileList',
		modelName: 'photoList',
	},
	{
		label: '医生反馈',
		model: 'doctorIdea',
		modelName: 'targetZh',
		url: 'system/dict/data/type/doctor_feed_back',
		required: true,
		message: '请输入医生反馈',
		keyName: 'dictLabel',
		value: 'dictValue',
		type: 'selectMd',
		controls: 'select',
	},
	// {
	// 	label: '医生反馈',
	// 	model: 'doctorIdea',
	// 	// modelName: 'doctorIdeaList',
	// 	mulData: 'mulData',
	// 	url: 'system/dict/data/type/doctor_feed_back',
	// 	required: true,
	// 	message: '请输入医生反馈',
	// 	type: 'mulSelect',
	// },
]